package com.luoye.lj.wstool.web.entity;

import java.util.List;

/*
 * Created with IntelliJ IDEA.
 * User: Dave Liu
 * Date: 2016/4/26
 * Time: 12:50
 * To change this template use File | Settings | File Templates.
 */
public class WebtEntity {
    private String entityName;//实体名
    private String urlProperty;//URL变量名
    private String path;//服务中path
    private List<WebtField> fieldList;//字段列表
    private String controllerPackage;//controller包名
    private String jspPrefix;//jsp前缀
    private String jspDir;//jsp文件存放目录
    private String webPath;//webpath
    private String description;//实体描述

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getUrlProperty() {
        return urlProperty;
    }

    public void setUrlProperty(String urlProperty) {
        this.urlProperty = urlProperty;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<WebtField> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<WebtField> fieldList) {
        this.fieldList = fieldList;
    }

    public String getControllerPackage() {
        return controllerPackage;
    }

    public void setControllerPackage(String controllerPackage) {
        this.controllerPackage = controllerPackage;
    }

    public String getJspPrefix() {
        return jspPrefix;
    }

    public void setJspPrefix(String jspPrefix) {
        this.jspPrefix = jspPrefix;
    }

    public String getJspDir() {
        return jspDir;
    }

    public void setJspDir(String jspDir) {
        this.jspDir = jspDir;
    }

    public String getWebPath() {
        return webPath;
    }

    public void setWebPath(String webPath) {
        this.webPath = webPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public WebtEntity(String entityName, String urlProperty, String path, List<WebtField> fieldList, String controllerPackage, String jspPrefix, String jspDir, String webPath, String description) {
        this.entityName = entityName;
        this.urlProperty = urlProperty;
        this.path = path;
        this.fieldList = fieldList;
        this.controllerPackage = controllerPackage;
        this.jspPrefix = jspPrefix;
        this.jspDir = jspDir;
        this.webPath = webPath;
        this.description = description;
    }

    public WebtEntity() {
    }

    @Override
    public String toString() {
        return "WebtEntity{" +
                "entityName='" + entityName + '\'' +
                ", urlProperty='" + urlProperty + '\'' +
                ", path='" + path + '\'' +
                ", fieldList=" + fieldList +
                ", controllerPackage='" + controllerPackage + '\'' +
                ", jspPrefix='" + jspPrefix + '\'' +
                ", jspDir='" + jspDir + '\'' +
                ", webPath='" + webPath + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
